package edu.task.snake.model;

import java.awt.event.ActionEvent;
import java.util.ArrayList;

public class Snake extends Character  {


    private ArrayList<Cell> list = new ArrayList<Cell>();

    public Snake()  {
    }


    public ArrayList<Cell> getArrayList() {
        return list;
    }

    public void setArrayList(ArrayList<Cell> list) {
        this.list = list;
    }

    public void action() {
        fireActionPerformed(new ActionEvent(Snake.this,0,getActionCommand()));
    }
}
